#ifndef PREFERENCES_H
#define PREFERENCES_H

#include <QDialog>

namespace Ui {
	class Preferences;
}

class QAbstractButton;
class MuCustomShortcuts;

class Preferences : public QDialog
{
		Q_OBJECT

	public:

		explicit					Preferences(QWidget *parent = 0);
		~Preferences();

		void						setShortcuts(MuCustomShortcuts*);

	private slots:

		void						on_buttonBox_clicked(QAbstractButton* button);
		void						on_buttonBox_accepted();

		void on_restoreFactorySettings_clicked();

private:
		Ui::Preferences*			ui;
};

class DependencyDetector : public QObject
{
		Q_OBJECT

	public:
		void						operator()();
};

#endif // PREFERENCES_H
